@extends('admin.layout.baseDoing')
@section('add_css')

@endsection
@section('content')
    <div class="layui-form layui-form-kongqi" id="layuiadmin-form" id="layuiadmin-form">
        {{ csrf_field() }}
        <div class="layui-form-item">
            <label for="" class="layui-form-label"><strong class="item-required">*</strong>地区</label>
            <div class="layui-input-block">
                <select name="area" lay-search>
                    @foreach($area as $key => $v)
                        <option value="{{$key}}"  >{{$v}}</option>
                    @endforeach
                </select>
            </div>
        </div>
        @include('admin.tpl.form.text',[
                'data'=>[
                'name'=>'server_name',
                'title'=>'服务器名称',
                'tips'=>'',
                'value'=>'',
                'rq'=>'rq'
        ]])
        <div class="layui-form-item">
            <label for="" class="layui-form-label"><strong class="item-required">*</strong>操作系统</label>
            <div class="layui-input-block">
                <select name="server_type" lay-search>
                    <option value="1" selected>Linux</option>
                    <option value="2" >Windows</option>
                </select>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label"><strong class="item-required">*</strong>价格</label>
            <div class="layui-input-block" >
                <input type="text" name="price" placeholder="￥" autocomplete="off" class="layui-input" >
            </div>
        </div>

        @include('admin.tpl.form.submit')


    </div>
@endsection
@section('foot_js')
    <script>
        layui.use(['index'], function () {



        })
    </script>

@endsection